package com.yonyou.brigade.third_parties.third.dao;

import com.yonyou.brigade.third_parties.third.model.BriDeptAuthorization;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-16
 */
public interface BriDeptAuthorizationMapper extends BaseMapper<BriDeptAuthorization> {

    int selectDeptAuthInfoCount(Map params);

    List<BriDeptAuthorization> selectDeptAuthInfo(Map params);

    BriDeptAuthorization selectSingleDeptAuth(Map params);

    List<BriDeptAuthorization> selectDeptAuthInfoByOrg(String orgpk);

    void updateDeptAuthInfo(BriDeptAuthorization deptAuth);

    void insertDeptAuthInfo(BriDeptAuthorization deptAuth);

}
